package com.enjoyor.soa.traffic.core.tsms.mapper.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.enjoyor.soa.traffic.core.tsms.constant.TaskDetailInfoSqlId;
import com.enjoyor.soa.traffic.core.tsms.domain.TaskDetailInfo;
import com.enjoyor.soa.traffic.core.tsms.mapper.ITaskDetailInfoMapper;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.impl.BaseMapper;

@Service
@Transactional
public class TaskDetailInfoMapper extends BaseMapper<TaskDetailInfo> implements ITaskDetailInfoMapper {

	@Override
	public List<TaskDetailInfo> selectExecuteTaskBaseInfoList(Map<String, Object> map) {
		return sqlSessionTemplate.selectList(getSqlName(TaskDetailInfoSqlId.SQL_SELECT_BASE_LIST), map);
	}
	
	@Override
	public List<TaskDetailInfo> selectExecuteTaskDetailInfoList(Map<String, Object> map) {
		return sqlSessionTemplate.selectList(getSqlName(TaskDetailInfoSqlId.SQL_SELECT_DETAIL_LIST), map);
	}
}